import acl
import sys
import numpy as np
from .ThreadPool import ThreadPool
from .ResourceManager import ResourceManager
from .MemoryPool import SimpleMemoryPool
class AscendResource():
    def __init__(self):
        self.thread_pool = ThreadPool()
        self.resource_manager = ResourceManager()
        self.memory_pool = SimpleMemoryPool()
        self.resource_info = self.resource_manager.info
        self.host_thread_info = self.thread_pool.host_thread_pool_info
        self.device_thread_info = self.thread_pool.device_thread_pool_info

ascend_resource = AscendResource()
    
        






